package com.wuyi.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;

public class Resource {

    @Id
    @Column(name = "resource_id")
    private Integer resourceId;

    @Column(name = "resource_cid")
    private Integer resourceCid;

    @Column(name = "resource_uid")
    private String resourceUid;

    @Column(name = "resource_name")
    private String resourceName;

    @Column(name = "resource_image")
    private String resourceImage;

    @Column(name = "resource_url")
    private String resourceUrl;

    @Column(name = "resource_desc")
    private String resourceDesc;

    @Column(name = "resource_level")
    private String resourceLevel;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @Column(name = "resource_time")
    private Date resourceTime;

    @Column(name = "resource_good")
    private Integer resourceGood;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @Column(name = "create_time")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * @return resource_id
     */
    public Integer getResourceId() {
        return resourceId;
    }

    /**
     * @param resourceId
     */
    public void setResourceId(Integer resourceId) {
        this.resourceId = resourceId;
    }

    /**
     * @return resource_cid
     */
    public Integer getResourceCid() {
        return resourceCid;
    }

    /**
     * @param resourceCid
     */
    public void setResourceCid(Integer resourceCid) {
        this.resourceCid = resourceCid;
    }

    /**
     * @return resource_uid
     */
    public String getResourceUid() {
        return resourceUid;
    }

    /**
     * @param resourceUid
     */
    public void setResourceUid(String resourceUid) {
        this.resourceUid = resourceUid;
    }

    /**
     * @return resource_name
     */
    public String getResourceName() {
        return resourceName;
    }

    /**
     * @param resourceName
     */
    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    /**
     * @return resource_image
     */
    public String getResourceImage() {
        return resourceImage;
    }

    /**
     * @param resourceImage
     */
    public void setResourceImage(String resourceImage) {
        this.resourceImage = resourceImage;
    }

    /**
     * @return resource_url
     */
    public String getResourceUrl() {
        return resourceUrl;
    }

    /**
     * @param resourceUrl
     */
    public void setResourceUrl(String resourceUrl) {
        this.resourceUrl = resourceUrl;
    }

    /**
     * @return resource_desc
     */
    public String getResourceDesc() {
        return resourceDesc;
    }

    /**
     * @param resourceDesc
     */
    public void setResourceDesc(String resourceDesc) {
        this.resourceDesc = resourceDesc;
    }

    /**
     * @return resource_level
     */
    public String getResourceLevel() {
        return resourceLevel;
    }

    /**
     * @param resourceLevel
     */
    public void setResourceLevel(String resourceLevel) {
        this.resourceLevel = resourceLevel;
    }

    /**
     * @return resource_time
     */
    public Date getResourceTime() {
        return resourceTime;
    }

    /**
     * @param resourceTime
     */
    public void setResourceTime(Date resourceTime) {
        this.resourceTime = resourceTime;
    }

    /**
     * @return resource_good
     */
    public Integer getResourceGood() {
        return resourceGood;
    }

    /**
     * @param resourceGood
     */
    public void setResourceGood(Integer resourceGood) {
        this.resourceGood = resourceGood;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}